package com.lion.ball.app.models.params.create;

import java.sql.Timestamp;
import java.sql.Timestamp;

/**
 * @author Chris Chan
 * Create on 2025-10-18 01:16
 * Use for: 评论 数据创建参数
 * Explain:
 * 
 */
public class OfdCommentCreateParam {
    // 主键
    private long id;
    // 编码
    private long code;
    // 父评论编码
    private Long parentCode;
    // 订单编码
    private long orderCode;
    // 客户编码
    private long customerCode;
    // 评论内容
    private String content;
    // 创建时间
    private long createTime;
    // 更新时间
    private long updateTime;
    // 是否删除 0 - 未删除 1 - 已删除
    private int isDeleted;

    // 无参构造方法
    public OfdCommentCreateParam() {
    }

    // 全参数构造方法
    public OfdCommentCreateParam(long id, long code, Long parentCode, long orderCode, long customerCode, String content, long createTime, long updateTime, int isDeleted) {
        this.id = id;
        this.code = code;
        this.parentCode = parentCode;
        this.orderCode = orderCode;
        this.customerCode = customerCode;
        this.content = content;
        this.createTime = createTime;
        this.updateTime = updateTime;
        this.isDeleted = isDeleted;
    }

    // 全参数create生成器
    public static OfdCommentCreateParam create(long id, long code, Long parentCode, long orderCode, long customerCode, String content, long createTime, long updateTime, int isDeleted) {
        return new OfdCommentCreateParam(id, code, parentCode, orderCode, customerCode, content, createTime, updateTime, isDeleted);
    }

    // 全参数of生成器
    public static OfdCommentCreateParam of(long id, long code, Long parentCode, long orderCode, long customerCode, String content, long createTime, long updateTime, int isDeleted) {
        return new OfdCommentCreateParam(id, code, parentCode, orderCode, customerCode, content, createTime, updateTime, isDeleted);
    }
    // region Getter和Setter方法
    public long getId() {
        return id;
    }

    public OfdCommentCreateParam setId(long id) {
        this.id = id;
        return this;
    }

    public long getCode() {
        return code;
    }

    public OfdCommentCreateParam setCode(long code) {
        this.code = code;
        return this;
    }

    public Long getParentCode() {
        return parentCode;
    }

    public OfdCommentCreateParam setParentCode(Long parentCode) {
        this.parentCode = parentCode;
        return this;
    }

    public long getOrderCode() {
        return orderCode;
    }

    public OfdCommentCreateParam setOrderCode(long orderCode) {
        this.orderCode = orderCode;
        return this;
    }

    public long getCustomerCode() {
        return customerCode;
    }

    public OfdCommentCreateParam setCustomerCode(long customerCode) {
        this.customerCode = customerCode;
        return this;
    }

    public String getContent() {
        return content;
    }

    public OfdCommentCreateParam setContent(String content) {
        this.content = content;
        return this;
    }

    public long getCreateTime() {
        return createTime;
    }

    public OfdCommentCreateParam setCreateTime(long createTime) {
        this.createTime = createTime;
        return this;
    }

    public long getUpdateTime() {
        return updateTime;
    }

    public OfdCommentCreateParam setUpdateTime(long updateTime) {
        this.updateTime = updateTime;
        return this;
    }

    public int getIsDeleted() {
        return isDeleted;
    }

    public OfdCommentCreateParam setIsDeleted(int isDeleted) {
        this.isDeleted = isDeleted;
        return this;
    }

    // endregion Getter和Setter方法
}
